package com.ruoyi.merchant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 提现管理对象 payouts
 * 
 * @author mirage
 * @date 2024-09-12
 */
@Document(indexName = "payouts")
public class Payouts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Id
    @Excel(name = "编号")
    private Long id;

    /** 商户id */
    @Excel(name = "商户id")
    private Long merchantId;
    /** 提现金额 */
    @Excel(name = "提现金额")
    private Long cashWithdrawal;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 提现时间 */
    @Excel(name = "提现时间")
    private String time;

    /** 状态【审核中、提现成功、提现失败】 */
    @Excel(name = "状态【审核中、提现成功、提现失败】")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }
    public void setCashWithdrawal(Long cashWithdrawal) 
    {
        this.cashWithdrawal = cashWithdrawal;
    }

    public Long getCashWithdrawal() 
    {
        return cashWithdrawal;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankCardNumber(String bankCardNumber) 
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber() 
    {
        return bankCardNumber;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantId", getMerchantId())
            .append("cashWithdrawal", getCashWithdrawal())
            .append("realName", getRealName())
            .append("bankName", getBankName())
            .append("bankCardNumber", getBankCardNumber())
            .append("time", getTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
